


@font-face {
    font-family: 'topicIconfont';
    src: url('../fonts/topicIconfont.eot');
    src: url('../fonts/topicIconfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/topicIconfont.woff') format('woff'),
    url('../fonts/topicIconfont.ttf') format('truetype'),
    url('../fonts/topicIconfont.svg#topicIconfont') format('svg');
}

@font-face {
    font-family: AdobeHeitiStd;
    src:url('../fonts/AdobeHeitiStd.otf');
}

body {
    background-color: #e9f0f6;
}

* {
    font-family: AdobeHeitiStd;
    letter-spacing: .2em;
}

/* 大屏幕 */
@media (min-width: 1200px) {
    /* 名片 */
    .container {
        width: 1200px;

        margin: 0 auto;
    }

    .cardcase {
        width: 100%;

        margin-top: 100px;
    }

    .coverbox {
        position: relative;
    }

    .coverbox img {
        width: 100%;
    }

    .coverbox a {
        width: 200px;
        height: 50px;

        position: absolute;
        bottom: 20px;
        right: 16px;

        border: 4px solid #fff;
        border-radius: 5px;

        text-align: center;
        font-size: 18px;
        line-height: 50px;
        letter-spacing: 4px;
        color: #fff;

        transition: all .5s;
    }

    .coverbox a:hover {
        background-color: #00a0e9;

        border-color: #00a0e9;
    }

    .card {
        width: 100%;
        height: 170px;

        background-color: #fff;

        position: relative;
    }

    .head-pic-ctn {
        width: 200px;
        height: 200px;

        background-color: #00a0e9;

        position: absolute;
        left: 50px;
        top: -70px;

        box-shadow: 0 0 10px #777;
    }

    .head-pic-ctn img {
        width: 100%;
        height: 100%;
    }

    .head-pic-ctn a {
        width: 100%;
        height: 50px;

        position: absolute;
        bottom: 0;
        left: 0;

        background-color: #333;
        opacity: .5;

        text-align: center;
        font-size: 16px;
        line-height: 50px;
        letter-spacing: 4px;
        color: #fff;

        transition: all .5s;
    }

    .head-pic-ctn:hover a {
        opacity: .7;
    }

    .user-name {
        position: absolute;
        left: 280px;

        text-align: left;
    }

    .user-name h1 {
        display: inline-block;

        padding-top: 40px;

        font-family: SimHei;
        font-size: 30px;
        font-weight: bold;
    }

    .user-name img {
        width: 40px;
        height: 40px;

        margin-bottom: -10px;
    }

    .user-name a {
        display: block;

        padding-top: 34px;

        font-size: 18px;
        color: #7c7c7c;
    }

    .user-name a span {
        font-family: topicIconfont;
    }

    .change-card {
        width: 200px;
        height: 50px;

        position: absolute;
        bottom: 20px;
        right: 16px;

        border: 4px solid #7ecef4;
        border-radius: 5px;

        text-align: center;
        font-size: 18px;
        line-height: 50px;
        letter-spacing: 4px;
        color: #7ecef4;

        transition: all .5s;
    }

    .change-card:hover {
        background-color: #00a0e9;

        border-color: #00a0e9;

        color: #fff;
    }

    /* 话题区域 */
    .topicbox {
        display: inline-block;
        width: 842px;
        height: 1300px;

        position: relative;

        margin-top: 20px;
        margin-bottom: 120px;
    }

    .topic-menu {
        width: 100%;
        height: 50px;

        background-color: #fff;
    }

    .topic-menu li {
        display: inline-block;
        height: 44px;

        margin-left: 50px;

        border-bottom: 6px solid transparent;

        transition: all .5s;
    }

    .topic-menu li a {
        font-size: 18px;
        line-height: 50px;
        letter-spacing: 6px;
        color: #777;
    }

    .topic-menu li:hover {
        border-bottom-color: #00a0e9;
    }

    .topic-menu li:hover a {
        color: #000;
    }

    .this-page {
        border-bottom-color: #00a0e9 !important;
    }

    .this-page a {
        color: #000 !important;
    }

    .topic {
        width: 100%;
        height: 300px;

        margin-top: 1px;

        background-color: #fff;

        position: relative;

        transition: all .5s;
    }

    .topic:hover {
        background-color: #eee;
    }

    .topic h1 {
        position: absolute;
        left: 5%;
        top: 30px;

        font-family: SimHei;
        font-weight: bold;
        font-size: 20px;
    }

    .topic h2 {
        position: absolute;
        right: 8%;
        top: 36px;

        font-size: 12px;
        color: #777;
    }

    .topic img {
        width: 300px;
        height: 200px;

        position: absolute;
        top: 70px;
        left: 5%;
    }

    .topic p:first-of-type {
        width: 50%;
        height: 140px;
        overflow: hidden;

        position: absolute;
        right: 8%;
        top: 80px;

        font-size: 16px;
        line-height: 36px;
    }

    .topic>a {
        position: absolute;
        bottom: 70px;
        right: 8%;

        font-size: 18px;
        color: #00a0e9;

        transition: all .5s;
    }

    .topic>a:hover {
        color: #7ecef4;
    }

    .topic span{
        font-family: topicIconfont;
    }

    .topic p:nth-of-type(2) {
        position: absolute;
        bottom: 28px;
        left: 42%;

        font-size: 16px;
        letter-spacing: 0.1em;
        color: #777;
    }

    .topic p:nth-of-type(3) {
        position: absolute;
        bottom: 28px;
        left: 57%;

        font-size: 16px;
        letter-spacing: 0.1em;
        color: #777;
    }

    .topic p:nth-of-type(4) {
        position: absolute;
        bottom: 28px;
        left: 72%;

        font-size: 16px;
        letter-spacing: 0.1em;
        color: #777;
    }

    .topic ul {
        height: 24px;

        position: absolute;
        right: 8%;
        top: 244px;

        z-index: 10;

        overflow: hidden;

        text-align: center;

        transition: all .5s;
    }

    .topic ul i {
        font-size: 24px;
        color: #777;

        cursor: pointer;
    }

    .topic ul li {
        height: 30px;
        width: 70px;

        background-color: #fff;

        font-size: 16px;
        line-height: 30px;

        transition: all .5s;

        cursor: pointer;
    }

    .topic ul:hover {
        height: 120px;
    }

    .topic ul:hover i {
        color: #000;
    }

    .topic ul li:hover {
        background-color: #eee;
    }

    .page-number {
        width: 100%;
        height: 50px;

        position: absolute;
        bottom: 0;

        background-color: #fff;
    }


    /* 粉丝/关注部分 */

    .fanbox {
        float: right;

        width: 340px;

        margin-top: 20px;

        vertical-align: top;
    }

    .fantab li {
        float: left;

        width: 169px;

        margin-right: 1px;

        background-color: #fff;

        text-align: center;

        transition: all .5s;
    }

    .fantab li h1 {
        padding-top: 24px;

        font-size: 18px;
    }

    .fantab li p {
        padding-top: 20px;
        padding-bottom: 24px;

        font-size: 18px;
    }

    .fantab li:hover {
        background-color: #eee;
    }

    .select {
        font-weight: bold;
    }

    .friend {
        display: none;
    }

    .show {
        display: block;
    }

    .friend li {
        display: block;
        width: 100%;
        height: 100px;

        margin-top: 1px;

        position: relative;

        background-color: #fff;

        transition: all .5s;
    }

    .friend li:hover {
        background-color: #eee;
    }

    .friend li a:first-of-type {
        position: absolute;
        left: 30%;
        top: 20px;

        font-size: 18px;
        color: #000;
        font-weight: bold;
    }

    .friend li img {
        width: 70px;
        height: 70px;

        position: absolute;
        top: 15px;
        left: 6%;
    }

    .friend li p {
        position: absolute;
        left: 30%;
        top: 60px;

        font-size: 16px;
        color: #777;
    }

    .friend li a:last-of-type {
        position: absolute;
        right: 4%;
        top: 26px;

        font-size: 12px;
        color: #777;

        transition: all .5s;
    }

    .friend li a:last-of-type:hover {
        color: #000;

        font-weight: bold;
    }

    .morefriend {
        display: inline-block;
        width: 100%;
        height: 50px;

        margin-top: 20px;

        background-color: #fff;

        text-align: center;
        font-size: 16px;
        line-height: 50px;
        color: #777;

        transition: all .5s;
    }

    .morefriend:hover {
        background-color: #eee;

        color: #000;
    }

    /* 评论部分 */
    .comment {
        width: 100%;
        height: 300px;

        margin-top: 1px;

        background-color: #fff;

        position: relative;

        transition: all .5s;
    }

    .comment:hover {
        background-color: #eee;
    }

    .comment h1 {
        position: absolute;
        left: 16%;
        top: 28px;

        font-size: 18px;
        font-weight: bold;
    }

    .comment img {
        width: 70px;
        height: 70px;

        border-radius: 35px;

        background-color: #f8b551;

        position: absolute;
        left: 5%;
        top: 20px;
    }

    .comment h2 {
        position: absolute;
        left: 16%;
        top: 60px;

        font-size: 16px;
        color: #777;
    }

    .comment>a:first-of-type {
        width: 88%;

        position: absolute;
        left: 6%;
        top: 100px;

        overflow: hidden;

        white-space: nowrap;
        font-size: 16px;
        color: #000;
        text-overflow: ellipsis;
    }

    .comment>a:nth-of-type(2) {
        width: 88%;
        height: 140px;

        background-color: #e0f5ff;

        position: absolute;
        bottom: 20px;
        left: 6%;
    }

    .comment>a:nth-of-type(2) h3 {
        display: inline-block;

        margin-left: 6px;
        margin-top: 10px;

        font-size: 16px;
        line-height: 20px;
        color: #000;
    }

    .comment>a:nth-of-type(2) h4 {
        display: inline-block;
        width: 70%;
        height: 20px;

        overflow:hidden;

        margin-top: 10px;

        vertical-align: top;

        white-space: nowrap;
        font-size: 16px;
        line-height: 20px;
        text-overflow: ellipsis;
        color: #777;
    }

    .comment>a:nth-of-type(2) p {
        margin-left: 6px;

        font-size: 16px;
        line-height: 21px;
        letter-spacing: 0.1em;
        color: #777;
    }

    .comment>a:last-of-type {
        position: absolute;
        right: 6%;
        top: 30px;

        font-size: 16px;
        color: #777;

        transition: all .5s;
    }

    .comment>a:last-of-type:hover {
        color: #000;
        font-weight: bold;
    }

    /* 编辑个人资料 */
    .editcard {
        width: 100%;

        margin-bottom: 180px;

        position: relative;

        background-color: #fff;
    }

    .editcard form {
        margin-left: 300px;
    }

    #UserName {
        margin-top: 70px;
        margin-bottom: 70px;

        border: none;
        outline: none;

        font-size: 30px;
    }

    .input {
        width: 70%;
        height: 80px;

        border-bottom: 1px solid #eee;
    }

    .input h1 {
        display: inline-block;

        font-size: 18px;
        font-weight: bold;
        line-height: 80px;
    }

    .input i {
        font-family: topicIconfont;
        color: #777;
    }

    .input p {
        display: inline-block;

        font-size: 18px;
        line-height: 80px;
        color: #777;
    }

    .input label {
        display: inline-block;

        position: relative;
    }

    .input input[type="radio"] {
        width: 20px;
        height: 20px;

        opacity: 0;
    }

    .input input[type="radio"]+span {
        width: 10px;
        height: 10px;

        margin: 2px;

        border-radius: 5px;

        position: absolute;
        top: 12px;
        left: 4px;

        background-color: #fff;

        transition: all .5s;
    }

    .input input[type="radio"]+span:hover {
        background-color: #00a0e9;
    }

    .input input[type="radio"]+span::after {
        width: 15px;
        height: 15px;

        content: " ";

        border: 1px solid #00a0e9;
        border-radius: 8px;

        position: absolute;
        top: -3.6px;
        left: -3.6px;

        cursor: pointer;
    }

    .input input[type="radio"]:checked+span {
        background-color: #00a0e9;
    }

    .input input[type="text"] {
        width: 80%;

        border: none;
        outline: none;

        font-size: 18px;
        color: #777;
    }

    .editcard::after {
        display: block;
        width: 100%;
        height: 40px;

        padding-bottom: 40px;

        content: " ";
    }

    .editcard>a {
        position: absolute;
        top: 20px;
        right: 20px;

        font-size: 20px;
        color: #777;

        transition: all .5s;
    }

    .editcard a:hover {
        color:#000;
    }


}






/* 平板电脑和小屏电脑之间的分辨率 */
@media(max-width: 1200px) {
    /* 名片 */
    .container {
        width: 768px;

        margin: 0 auto;

        text-align: left;
    }

    .cardcase {
        width: 100%;

        margin-top: 100px;
    }

    .coverbox {
        position: relative;
    }

    .coverbox img {
        width: 100%;
    }

    .coverbox a {
        width: 200px;
        height: 50px;

        position: absolute;
        bottom: 20px;
        right: 16px;

        border: 4px solid #fff;
        border-radius: 5px;

        font-size: 18px;
        line-height: 50px;
        letter-spacing: 4px;
        color: #fff;
        text-align: center;

        transition: all .5s;
    }

    .coverbox a:hover{
        background-color: #00a0e9;

        border-color: #00a0e9;
    }

    .card {
        width: 100%;
        height: 170px;

        background-color: #fff;

        position: relative;
    }

    .head-pic-ctn {
        width: 150px;
        height: 150px;

        background-color: #00a0e9;

        position: absolute;
        left: 50px;
        top: -50px;

        box-shadow: 0 0 10px #777;
    }

    .head-pic-ctn img {
        width: 100%;
        height: 100%;
    }

    .head-pic-ctn a {
        width: 100%;
        height: 50px;

        position: absolute;
        bottom: 0;
        left: 0;

        background-color: #333;
        opacity: .5;

        font-size: 16px;
        line-height: 50px;
        letter-spacing: 4px;
        color: #fff;
        text-align: center;

        transition: all .5s;
    }

    .head-pic-ctn:hover a {
        opacity: .7;
    }

    .user-name {
        position: absolute;
        left: 220px;

        text-align: left;
    }

    .user-name h1 {
        display: inline-block;

        padding-top: 40px;

        font-family: SimHei;
        font-size: 30px;
        font-weight: bold;

    }

    .user-name img {
        width: 40px;
        height: 40px;

        margin-bottom: -10px;
    }

    .user-name a {
        display: block;

        padding-top: 34px;

        font-size: 18px;
        color: #7c7c7c;
    }

    .user-name a span {
        font-family: topicIconfont;
    }

    .change-card {
        width: 200px;
        height: 50px;

        position: absolute;
        bottom: 20px;
        right: 16px;

        border: 4px solid #7ecef4;
        border-radius: 5px;

        font-size: 18px;
        line-height: 50px;
        letter-spacing: 4px;
        color: #7ecef4;
        text-align: center;

        transition: all .5s;
    }

    .change-card:hover {
        background-color: #00a0e9;

        border-color: #00a0e9;

        color: #fff;
    }

    /* 话题区域 */
    .topicbox {
        display: inline-block;
        width: 500px;
        height: 1300px;

        margin-top: 20px;
        margin-bottom: 120px;

        position: relative;
    }

    .topic-menu {
        width: 100%;
        height: 50px;

        background-color: #fff;
    }

    .topic-menu li {
        display: inline-block;
        height: 44px;

        margin-left: 10px;

        border-bottom: 6px solid transparent;

        transition: all .5s;
    }

    .topic-menu li a {
        font-size: 18px;
        line-height: 50px;
        letter-spacing: 6px;
        color: #777;
    }

    .topic-menu li:hover {
        border-bottom-color: #00a0e9;
    }

    .topic-menu li:hover a {
        color: #000;
    }

    .topic {
        width: 100%;
        height: 300px;

        margin-top: 1px;

        background-color: #fff;

        position: relative;

        text-align: left;
    }

    .topic:hover {
        background-color: #eee;
    }

    .topic h1 {
        position: absolute;
        left: 5%;
        top: 30px;

        font-family: SimHei;
        font-weight: bold;
        font-size: 20px;
    }

    .topic h2 {
        position: absolute;
        right: 8%;
        top: 60px;

        font-size: 12px;
        color: #777;
    }

    .topic img {
        width: 210px;
        height: 140px;

        position: absolute;
        top: 90px;
        left: 5%;
    }

    .topic p:first-of-type {
        width: 40%;
        height: 140px;
        overflow: hidden;

        position: absolute;
        right: 8%;
        top: 80px;

        font-size: 16px;
        line-height: 36px;
    }

    .topic>a {
        position: absolute;
        bottom: 60px;
        right: 8%;

        font-size: 18px;
        color: #00a0e9;

        transition: all .5s;
    }

    .topic>a:hover {
        color: #7ecef4;
    }

    .topic span{
        font-family: topicIconfont;
    }

    .topic p:nth-of-type(2) {
        position: absolute;
        bottom: 28px;
        left: 10%;

        font-size: 16px;
        letter-spacing: 0.1em;
        color: #777;
    }

    .topic p:nth-of-type(3) {
        position: absolute;
        bottom: 28px;
        left: 35%;

        font-size: 16px;
        letter-spacing: 0.1em;
        color: #777;
    }

    .topic p:nth-of-type(4) {
        position: absolute;
        bottom: 28px;
        left: 60%;

        font-size: 16px;
        letter-spacing: 0.1em;
        color: #777;
    }

    .topic ul {
        height: 24px;

        position: absolute;
        right: 8%;
        top: 250px;

        overflow: hidden;

        text-align: center;

        transition: all .5s;
    }

    .topic ul i {
        font-size: 24px;
        color: #777;

        cursor: pointer;
    }

    .topic ul li {
        height: 30px;
        width: 70px;

        background-color: #fff;

        font-size: 16px;
        line-height: 30px;

        cursor: pointer;
    }

    .topic ul:hover {
        height: 120px;
    }

    .topic ul:hover i {
        color: #000;
    }

    .topic ul li:hover {
        background-color: #eee;
    }


    .page-number {
        width: 100%;
        height: 50px;

        position: absolute;
        bottom: 0;

        background-color: #fff;
    }



    /* 粉丝/关注部分 */

    .fanbox {
        float: right;

        width: 240px;

        margin-top: 20px;

        vertical-align: top;
    }

    .fantab li {
        float: left;

        width: 119px;

        margin-right: 1px;

        background-color: #fff;

        text-align: center;

        transition: all .5s;
    }

    .fantab li h1 {
        padding-top: 24px;

        font-size: 18px;
    }

    .fantab li p {
        padding-top: 20px;
        padding-bottom: 24px;

        font-size: 18px;
    }

    .fantab li:hover {
        background-color: #eee;
    }

    .select {
        font-weight: bold;
    }

    .friend {
        display: none;
    }

    .show {
        display: block;
    }

    .friend li {
        display: block;
        width: 100%;
        height: 100px;

        margin-top: 1px;

        position: relative;

        background-color: #fff;

        transition: all .5s;
    }

    .friend li:hover {
        background-color: #eee;
    }

    .friend li a:first-of-type {
        position: absolute;
        left: 30%;
        top: 20px;

        font-size: 18px;
        color: #000;
        font-weight: bold;
    }

    .friend li img {
        width: 50px;
        height: 50px;

        position: absolute;
        top: 25px;
        left: 6%;
    }

    .friend li p {
        position: absolute;
        left: 30%;
        top: 60px;

        font-size: 16px;
        color: #777;
    }

    .friend li a:last-of-type {
        position: absolute;
        right: 4%;
        top: 26px;

        font-size: 12px;
        color: #777;

        transition: all .5s;
    }

    .friend li a:last-of-type:hover {
        color: #000;

        font-weight: bold;
    }

    .morefriend {
        display: inline-block;
        width: 100%;
        height: 50px;

        margin-top: 20px;

        background-color: #fff;

        text-align: center;
        font-size: 16px;
        line-height: 50px;
        color: #777;

        transition: all .5s;
    }

    .morefriend:hover {
        background-color: #eee;

        color: #000;
    }

    /* 评论部分 */
    .comment {
        width: 100%;
        height: 300px;

        margin-top: 1px;

        background-color: #fff;

        position: relative;

        transition: all .5s;
    }

    .comment:hover {
        background-color: #eee;
    }

    .comment h1 {
        position: absolute;
        left: 22%;
        top: 28px;

        font-size: 18px;
        font-weight: bold;
    }

    .comment img {
        width: 70px;
        height: 70px;

        border-radius: 35px;

        background-color: #f8b551;

        position: absolute;
        left: 5%;
        top: 20px;
    }

    .comment h2 {
        position: absolute;
        left: 22%;
        top: 60px;

        font-size: 16px;
        color: #777;
    }

    .comment>a:first-of-type {
        width: 88%;

        position: absolute;
        left: 6%;
        top: 100px;

        overflow: hidden;

        white-space: nowrap;
        font-size: 16px;
        color: #000;
        text-overflow: ellipsis;
    }

    .comment>a:nth-of-type(2) {
        width: 88%;
        height: 140px;

        background-color: #e0f5ff;

        position: absolute;
        bottom: 20px;
        left: 6%;
    }

    .comment>a:nth-of-type(2) h3 {
        display: inline-block;

        margin-left: 6px;
        margin-top: 10px;

        font-size: 16px;
        line-height: 20px;
        font-weight: bold;
        color: #000;
    }

    .comment>a:nth-of-type(2) h4 {
        display: inline-block;
        width: 60%;
        height: 20px;

        overflow:hidden;

        margin-top: 10px;

        vertical-align: top;

        white-space: nowrap;
        font-size: 16px;
        line-height: 20px;
        text-overflow: ellipsis;
        color: #777;
    }

    .comment>a:nth-of-type(2) p {
        height: 100px;

        margin-left: 6px;

        overflow: hidden;

        font-size: 16px;
        line-height: 21px;
        letter-spacing: .1em;
        color: #777;
    }

    .comment>a:last-of-type {
        position: absolute;
        right: 6%;
        top: 30px;

        font-size: 16px;
        color: #777;

        transition: all .5s;
    }

    .comment>a:last-of-type:hover {
        color: #000;
        font-weight: bold;
    }


    /* 编辑个人资料 */
    .editcard {
        width: 100%;

        margin-bottom: 180px;

        position: relative;

        background-color: #fff;
    }

    .editcard form {
        margin-left: 300px;
    }

    #UserName {
        margin-top: 70px;
        margin-bottom: 70px;

        border: none;
        outline: none;

        font-size: 30px;
    }

    .input {
        width: 70%;
        height: 80px;

        border-bottom: 1px solid #eee;
    }

    .input h1 {
        display: inline-block;

        font-size: 18px;
        font-weight: bold;
        line-height: 80px;
    }

    .input i {
        font-family: topicIconfont;
        color: #777;
    }

    .input p {
        display: inline-block;

        font-size: 18px;
        line-height: 80px;
        color: #777;
    }

    .input label {
        display: inline-block;

        position: relative;
    }

    .input input[type="radio"] {
        width: 20px;
        height: 20px;

        opacity: 0;
    }

    .input input[type="radio"]+span {
        width: 10px;
        height: 10px;

        margin: 2px;

        border-radius: 5px;

        position: absolute;
        top: 12px;
        left: 4px;

        background-color: #fff;

        transition: all .5s;
    }

    .input input[type="radio"]+span:hover {
        background-color: #00a0e9;
    }

    .input input[type="radio"]+span::after {
        width: 15px;
        height: 15px;

        content: " ";

        border: 1px solid #00a0e9;
        border-radius: 8px;

        position: absolute;
        top: -3.6px;
        left: -3.6px;

        cursor: pointer;
    }

    .input input[type="radio"]:checked+span {
        background-color: #00a0e9;
    }

    .input input[type="text"] {
        width: 60%;

        border: none;
        outline: none;

        font-size: 18px;
        color: #777;
    }

    .editcard::after {
        display: block;
        width: 100%;
        height: 40px;

        padding-bottom: 40px;

        content: " ";
    }

    .editcard>a {
        position: absolute;
        top: 20px;
        right: 20px;

        font-size: 20px;
        color: #777;

        transition: all .5s;
    }

    .editcard a:hover {
        color:#000;
    }
}
 

